package com.example.warehouse_manager.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

import java.io.Serializable;


/**
 * 用户角色表
 * @TableName user_role
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class UserRole implements Serializable {

    /**
     *
     */
    @NotNull(message="[]不能为空")
    private Integer userRoleId;
    /**
     *
     */
    private Integer roleId;
    /**
     *
     */
    private Integer userId;


}
